package db.dao;

import java.util.HashSet;
import java.util.Set;

/**
 * Classes entity. @author MyEclipse Persistence Tools
 */

public class Classes implements java.io.Serializable {

	// Fields

	private String classid;
	private Dept dept;
	private Major major;
	private String classname;
	private Byte stunumbers;
	private Set students = new HashSet(0);

	// Constructors

	/** default constructor */
	public Classes() {
	}

	/** minimal constructor */
	public Classes(String classid) {
		this.classid = classid;
	}

	/** full constructor */
	public Classes(String classid, Dept dept, Major major, String classname, Byte stunumbers, Set students) {
		this.classid = classid;
		this.dept = dept;
		this.major = major;
		this.classname = classname;
		this.stunumbers = stunumbers;
		this.students = students;
	}

	// Property accessors

	public String getClassid() {
		return this.classid;
	}

	public void setClassid(String classid) {
		this.classid = classid;
	}

	public Dept getDept() {
		return this.dept;
	}

	public void setDept(Dept dept) {
		this.dept = dept;
	}

	public Major getMajor() {
		return this.major;
	}

	public void setMajor(Major major) {
		this.major = major;
	}

	public String getClassname() {
		return this.classname;
	}

	public void setClassname(String classname) {
		this.classname = classname;
	}

	public Byte getStunumbers() {
		return this.stunumbers;
	}

	public void setStunumbers(Byte stunumbers) {
		this.stunumbers = stunumbers;
	}

	public Set getStudents() {
		return this.students;
	}

	public void setStudents(Set students) {
		this.students = students;
	}

}